package com.hycreate.platform.modules.delay;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hycreate.platform.common.persistence.Page;
import com.hycreate.platform.common.service.CrudService;

/**
 * 延期记录Service
 * @author wang
 * @version 2017-11-30
 */
@Service
@Transactional(readOnly = true)
public class YhcgDelayService extends CrudService<YhcgDelayDao, YhcgDelay> {

	public YhcgDelay get(String id) {
		return super.get(id);
	}
	
	public List<YhcgDelay> findList(YhcgDelay yhcgDelay) {
		return super.findList(yhcgDelay);
	}
	
	public List<YhcgDelay> findAllList(YhcgDelay yhcgDelay) {
		return dao.findAllList(yhcgDelay);
	}
	public Page<YhcgDelay> findPage(Page<YhcgDelay> page, YhcgDelay yhcgDelay) {
		return super.findPage(page, yhcgDelay);
	}
	
	@Transactional(readOnly = false)
	public void save(YhcgDelay yhcgDelay) {
		super.save(yhcgDelay);
	}
	
	@Transactional(readOnly = false)
	public void delete(YhcgDelay yhcgDelay) {
		super.delete(yhcgDelay);
	}
	
}